package com.wooming.studentinfosystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

/**
 * Mapper层:  更新学生信息
 *
 * @author Wooming
 */
@Mapper
public interface StudentUpdateMapper {
    void updateStudent(Map<String, Object> params);

    @Select("SELECT COUNT(*) FROM student WHERE student_id = #{studentId}")
    Integer countByStudentId(String studentId);
}
